import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);
const store = new Vuex.Store({
  state: {
    userState: false,
    menus: []
  }, mutations: {
    setState(state) {
      state.userState = true
    }
  }, getters: {
    userState(state) {
      return state.userState;
    }
  }
});

export default store

